package com.wx.entity;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 商品类型总表
 * @author yangrong
 * @date 2019年9月25日
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GoodsProperties implements Serializable {
	private Integer id;

	private Integer propertyId;

	private String dateAdd;

	private String name;

	private Integer paixu;

	private List<GoodsProperties> childsCurGoods;

	private static final long serialVersionUID = 1L;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPropertyId() {
		return propertyId;
	}

	public void setPropertyId(Integer propertyId) {
		this.propertyId = propertyId;
	}

	public String getDateAdd() {
		return dateAdd;
	}

	public void setDateAdd(String dateAdd) {
		this.dateAdd = dateAdd == null ? null : dateAdd.trim();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public Integer getPaixu() {
		return paixu;
	}

	public void setPaixu(Integer paixu) {
		this.paixu = paixu;
	}

	public List<GoodsProperties> getChildsCurGoods() {
		return childsCurGoods;
	}

	public void setChildsCurGoods(List<GoodsProperties> childsCurGoods) {
		this.childsCurGoods = childsCurGoods;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", propertyId=").append(propertyId);
		sb.append(", dateAdd=").append(dateAdd);
		sb.append(", name=").append(name);
		sb.append(", paixu=").append(paixu);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}
}